package com.ymq.reggie.common;

/**
 * 线程工具
 */
public class BaseContext {

    private static ThreadLocal<Long> locals=new ThreadLocal<>();

    public static void setThreadLocal(Long localId){
        locals.set(localId);
    }
    public static Long getThreadLocalId(){
       return  locals.get();
    }

}
